import { useState } from "react"
type User = {
  name: string,
  age: number
}

function State_init_null() {
  const [user, setUser] = useState<User | null>(null)
  return (
    <>
      <div>{user?.name}</div>
      <div>{user?.age}</div>
    </>

  )
}
export default State_init_null